

#ifndef _SIMPLE_TAG_H_
#define _SIMPLE_TAG_H_

#include <stdint.h>
#include "tag_type.h"

typedef struct {
	uint8_t uid[16];
	uint8_t ubit;
	uint8_t ulen;
	uint8_t type;
}SimpleTag_T;

void SimpleTag_Set(SimpleTag_T* tag, uint8_t type, uint8_t uid_bit, uint8_t uid_len, const void* uid);

int SimpleTag_Compare(const SimpleTag_T* tag1, const SimpleTag_T* tag2);

void SimpleTag_Clear(SimpleTag_T* tag);

#endif



